package com.cat.model.biz.service.api;

import com.cat.model.common.model.common.DeviceInfoVO;

public interface LoginService {

	String regDeviceInfo(DeviceInfoVO deviceInfo);

	String preLoginByPhone(String deviceId, String phone, String type);

	String loginByPhone(String deviceId, String phoneNo, String checkCode, String password,String nickName,Long inviterId);

	String loginByPhonePass(String deviceId, String phoneNo, String password);

	String renewalToken(String oldRefreshToken);

	String logout(String token);

	String preBindPhoneNo(String token, String newPhoneNo, String type);

	String bindPhoneNo(String token, String newPhoneNo, String checkCode, String password);
	
	String updatePassword(Long userId,String phoneNo, String password , String checkCode);
}
